package io.gitee.kotle.android.drawable

import android.graphics.Canvas
import android.graphics.ColorFilter
import android.graphics.PixelFormat
import android.graphics.drawable.Drawable

/**
 *
 * 描述：
 *
 * 创建人：jiale.wei
 * 创建时间：2022/4/28 22:39
 *
 */
open class BaseDrawable : Drawable() {

    override fun draw(canvas: Canvas) {

    }

    override fun setAlpha(alpha: Int) {
    }

    override fun setColorFilter(colorFilter: ColorFilter?) {
    }

    override fun getOpacity(): Int {
        return PixelFormat.TRANSPARENT
    }
}